package com.yswy.domain.vo.gld.addOrUpate;

import com.yswy.domain.vo.gld.addOrUpate.base.BaseReqVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author 19401
 * @date 2022/6/6 17:09
 **/
@Data
public class TgMediaAccountAddOrUpdate extends BaseReqVO {
    @NotNull(message = "ID不能为空", groups = {UPDATE.class , DElECT.class})
    private Long id;


    @ApiModelProperty("投放（上架）平台  0 巨量  1 快手 ")
    @NotEmpty(message = "投放平台不能为空", groups = {CREATE.class})
    private String tfPlatform;
    @ApiModelProperty("登录账号")
    private String loginAccount;
    @NotEmpty(message = "登录账号不能为空", groups = {CREATE.class})
    @ApiModelProperty("子账户名称")
    private String accountName;
    @NotEmpty(message = "子账户名称不能为空", groups = {CREATE.class})
    @ApiModelProperty("子账户号")
    private String accountNum;
    @NotEmpty(message = "子账户号不能为空", groups = {CREATE.class})
    @ApiModelProperty("备注")
    private String remarks;
}
